import request from '@/utils/request'


export function listRoom() {
  return request({
    url: '/meeting/room/list',
    method: 'get',
  })
}

export function getVisitor(query) {
  return request({
    url: '/meetingVisitor/getVisitor',
    method: 'get',
    params: query
  })
}

export function addVisitor(data) {
  return request({
    url: '/meetingVisitor/backAddVisitor',
    method: 'post',
    data
  })
}

export function removeVisitor(data) {
  return request({
    url: '/meetingVisitor/removeVisitor',
    method: 'get',
    params: data.id
  })
}





